<?php
 //LISTS A SINGLE SUMMER CAMP TO THE USER

 
// No direct access
defined('_JEXEC') or die('Restricted access'); ?>

<?php
	$row =& $this->items[0];
?>

<h2>Summer Camp Listing</h2><br>

<h3><a href="index.php?option=com_summercamps">< Back to camp listings</a></h3>
<table class="camp">
	<tr><td class="campheader">
		<?php //echo JText::_( 'Camp Name' ); ?>	</td>
		<td class="campheader"><?php echo $row->CampName;?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Region' ); ?></td>
		<td><?php echo $row->Region ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'City' ); ?></td>
		<td><?php echo $row->City ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Postal Code1' ); ?></td>
		<td><?php echo $row->PostalCode ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Age Range' ); ?></td>
		<td><?php echo $row->MinAge.' - '.$row->MaxAge; ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Start Date' ); ?></td>
		<td><?php echo $row->StartDate ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'End Date' ); ?></td>
		<td><?php echo $row->EndDate ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Description' ); ?></td>
		<td><?php echo $row->Description ?></td></tr>
	<?php if($row->ContactNameVisible){
			echo '<tr><td class="fieldtitle">';
			echo JText::_( 'Contact Name' ).'</td><td>'.$row->ContactName.'</td></tr>';
		}		
	?>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Email' ); ?></td>
		<td><?php echo $row->Email ?></td></tr>
	<tr><td class="fieldtitle">
		<?php echo JText::_( 'Website' ); ?></td>
		<td><?php echo $row->Website ?></td></tr>
	<?php if($row->PhoneVisible){
			echo '<tr><td class="fieldtitle">';
			echo JText::_( 'Phone Number' ).'</td><td>'.$row->Phone.'</td></tr>';
		}		
	?>
				
</table>